<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>商品卡片布局</title>
		<style>
			/* 思路1:先去除元素默认外边距 [通配选择器]  设置背景颜色
			      2:product_card  设置样式:内边距,边框设置颜色,加倒角,加阴影
				  所有内容和---居中:text-align:center
				  3.图片倒角边框,外边距?
				  4.小米su7 文字:外边框
				  5.￥279999.00文字大小  外边距
				  6.颜色,外边距 内边距
			*/
		   div{
			   text-align: center;
		   }
		   #product_card{
			   width: 280px;
			   height: 520px;
			   padding: 10px;
			   background: #f9f9f9;
			   border-radius: 5px;
			   box-shadow: 1px 1px 20px 2px #d6d6d6 ;
		   }
		   img{
			   border-radius: 5px;
			   margin: 10px;
		   }
		   h3{
			   margin: 5px;
		   }
		   .money{
			   font-size: 22px;
			   color: #ff0206;
			   margin: 20px;
		   }
		   .comment{
			   margin: -2px;
			   color: #a5a5a5;
		   }
		   
		   
		   
		   .bj{
			
			   width: 300px;
			   height: 60px;
			   border: 1px solid #f5f5f5;
			   margin: 10px;
			   display: flex;
			   border-radius: 5px;
			   box-shadow: 1px 1px 20px 2px #d6d6d6 ;
			   
		   }
		   input{
			   width: 100%;
			   height: 60px;
			   padding: 10px;
			   border: 2px solid #ffffff;
			   border-radius: 5px;
			   box-sizing: border-box;
		   }
		   button{
			   width: 85px;
			   height: 40px;
			   margin-top: 10px;
			   margin-right: 10px;
			   background: #ff0206;
			   color: #fcfcfc;
			   border: none;
			   border-radius: 5px;
			  
		   }
		  
		  
		 
		</style>
	</head>
	<body>
		<div id="product_card">
			<img src="img/小米su7.jpg" width="260px" height="358px" alt="su7">
			<h3>小米su7</h3>
			<p class="money">￥279999.00</p>
			<p class="comment">已有<span>10万+</span>人评价</p>
		</div>
		
		
		<hr>
		
		
		<div class="bj">
			<input type="text" class="input" placeholder="搜索 京东商品">
			<button>搜索</button>
		</div>
		
		
		
		<hr>
		
		<div class="pl">
			<div id="l1"></div>
			<div id="l2"></div>
			<p id="d1">1</p>
			<p>2</p>
			<p>3</p>
			<p>4</p>
			<p>5</p>
			<p>6</p>
		</div>
		
	</body>
</html>